<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2021/8/25 0025
 * Time: 下午 4:48
 */
namespace app\back\controller;
class Job extends  \app\back\controller\BaseAdmin{

    function set_model()
    {
        $this->model=new \app\model\Job();
    }


    function list_init(){
        $model=$this->get_model();
        $data=$model->order("id","desc")->paginate();

        return [


            'list_title'=>['ID','工作名字','添加时间时间','岗位描述','面试地址','联系人','联系电话','收简历邮箱'],
            'list_data_name'=>['id',"job_name",'created_at','job_des','interview_address','link_name','link_mobile','link_email'],

            'list_data'=>$data,
            'page_html'=>$model->paginate()->render(),
            'hide_edit'=>1,
            'hide_delete'=>1,

        ];
    }
}